package com.thumbs.auth.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.thumbs.auth.entity.User;
import com.thumbs.common.response.BaseResponse;
import jakarta.validation.constraints.NotBlank;

/**
* @author lizihang
* @description 针对表【user】的数据库操作Service
* @createDate 2025-04-29 16:32:26
*/
public interface UserService extends IService<User> {

    /**
     * 登录
     * @param username 用户名
     * @return BaseResponse<User>
     */
    BaseResponse login(@NotBlank(message = "用户名不能为空") String username);
}
